package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter@Getter@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Payment {
    private Long id;

    private PayClassify payclassify;//支付分类

    private BigDecimal amount;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inputTime;

    private String remake;

    private Employee employee;
}